package com.forezp.zuul.servicefeign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * Created by Enzo Cotter on 2019/11/6.
 */
@FeignClient(value = "service-hi",fallback = FeignClientHystric.class)
public interface ServiceHiFeignClient {
    @RequestMapping("/info")
    String hi(@RequestParam(value = "name") String name);
}
